package com.zbkj.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户账单表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_user_bill")
@ApiModel(value="UserBill对象", description="用户账单表")
public class UserBill implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "用户账单id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "用户uid")
      private Integer uid;

      @ApiModelProperty(value = "关联id")
      private String linkId;

      @ApiModelProperty(value = "0 = 支出 1 = 获得")
      private Integer pm;

      @ApiModelProperty(value = "账单标题")
      private String title;

      @ApiModelProperty(value = "明细种类")
      private String category;

      @ApiModelProperty(value = "明细类型")
      private String type;

      @ApiModelProperty(value = "明细数字")
      private BigDecimal number;

      @ApiModelProperty(value = "剩余")
      private BigDecimal balance;

      @ApiModelProperty(value = "备注")
      private String mark;

      @ApiModelProperty(value = "0 = 带确定 1 = 有效 -1 = 无效")
      private Boolean status;

      @ApiModelProperty(value = "添加时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
